package com.example.springboot_shiro.service;

import com.example.springboot_shiro.entity.Pers;
import com.example.springboot_shiro.entity.Role;
import com.example.springboot_shiro.entity.User;

import java.util.List;

public interface UserService {
    void register(User user);
    User findByUserName(String username);
User findRolesByUserName(String username);
    List<Pers> findPersByRoleId(String id);
}
